package com.zy.ems.common.error;

import com.zy.ems.common.exception.ErrorStatus;

/**
 * 
 * @ClassName: CustomCode
 * @Description: 海关模块错误码，8000开始
 * @author wangyangyang
 * @date 2015年1月16日 下午5:48:05
 * 
 */
public class CustomCode extends ErrorStatus {

    /**
     * 8001 该订单状态不符合
     */
    public static final ErrorStatus cus_001 = new CustomCode(8001,
            "The status of the order is not in conformity");

    /**
     * 8002,"订单号不能为空"
     */
    public static final ErrorStatus cus_002 = new CustomCode(8002,
            "The order number can not be empty.");

    /**
     * 8003,"商品数量不能大于1个"
     */
    public static final ErrorStatus cus_003 = new CustomCode(8003,
            "The number of goods can not be greater than 1");

    /**
     * 8004,"FTP关闭错误"
     */
    public static final ErrorStatus cus_004 = new CustomCode(8004, "FTP关闭错误");

    /**
     * 8005,"FTP删除文件错误"
     */
    public static final ErrorStatus cus_005 = new CustomCode(8005, "FTP删除文件错误");

    /**
     * 8006,"FTP读取列表错误"
     */
    public static final ErrorStatus cus_006 = new CustomCode(8006, "FTP读取列表错误");

    /**
     * 8007,"上传数据为空！"
     */
    public static final ErrorStatus cus_007 = new CustomCode(8007,
            "Upload data to air!");

    /**
     * 8008,"上传订单没有商品！"
     */
    public static final ErrorStatus cus_008 = new CustomCode(8008,
            "Upload orders without the goods!");

    /**
     * 8009,"请填写身份证号！"
     */
    public static final ErrorStatus cus_009 = new CustomCode(8009,
            "Please fill in the ID card number!");

    /**
     * 8010,该商品没有海关备案号
     */
    public static final ErrorStatus cus_010 = new CustomCode(8010,
            "The goods are not on the record number of Customs");

    /**
     * 8011,没有未备案商品，请联系管理员
     */
    public static final ErrorStatus cus_011 = new CustomCode(8011,
            "No record of goods, please contact the administrator");

    /**
     * 8012,该订单没有供货商，请核对数据
     */
    public static final ErrorStatus cus_012 = new CustomCode(8012,
            "The order has no supplier, please check the data");

    /**
     * 8013,发送清关信息错误，请核对信息
     */
    public static final ErrorStatus cus_013 = new CustomCode(8013,
            "To send a clearance information error, please check the information");

    /**
     * 8014,运单打印失败
     */
    public static final ErrorStatus cus_014 = new CustomCode(8014,
            "Waybill printing failure");

    /**
     * 8015,订单状态错误，请联系管理人员
     */
    public static final ErrorStatus cus_015 = new CustomCode(8015,
            "Order status error, please contact the administrator");

    /**
     * 8016,预约取件失败
     */
    public static final ErrorStatus cus_016 = new CustomCode(8016,
            "Make an appointment to take a failure");

    /**
     * 8017,时间有误，请重新输入
     */
    public static final ErrorStatus cus_017 = new CustomCode(8017,
            "Time error, please re-enter");

    /**
     * 8018,该订单支付信息已经上报海关
     */
    public static final ErrorStatus cus_018 = new CustomCode(8018,
            "The order payment information has been reported to the customs");

    /**
     * 8019,支付上报海关错误，请联系管理员
     */
    public static final ErrorStatus cus_019 = new CustomCode(8019,
            "Pay the customs error, please contact the administrator");

    /**
     * 8020,邮编校验错误
     */
    public static final ErrorStatus cus_020 = new CustomCode(8020,
            "Zip code checksum error");

    /**
     * 8021,订单已刪除或取消
     */
    public static final ErrorStatus cus_021 = new CustomCode(8021,
            "Orders have been deleted or canceled");

    /**
     * 8022,运费不能为0
     */
    public static final ErrorStatus cus_022 = new CustomCode(8022,
            "Freight can not be 0");

    /**
     * 8023,此订单已打印发票！
     */
    public static final ErrorStatus cus_023 = new CustomCode(8023,
            "This order has been printed invoice!");

    /**
     * 8024,原产国家不存在！
     */
    public static final ErrorStatus cus_024 = new CustomCode(8024, "原产国家不存在");

    /**
     * 8025,库存不足，发货失败！
     */
    public static final ErrorStatus cus_025 = new CustomCode(8025,
            "库存不足，发货失败！");

    /**
     * 8026,FedEx 创建订单！
     */
    public static final ErrorStatus cus_026 = new CustomCode(8026,
            "FedEx 创建订单");

    /**
     * 8027,发货！
     */
    public static final ErrorStatus cus_027 = new CustomCode(8027, "发货");

    /**
     * 8028,FedEx国际
     */
    public static final ErrorStatus cus_028 = new CustomCode(8028, "FedEx国际");

    /**
     * 8029,支付报关错误
     */
    public static final ErrorStatus cus_029 = new CustomCode(8029, "支付报关错误");

    /**
     * 8030,商检
     */
    public static final ErrorStatus cus_030 = new CustomCode(8030, "商检");

    /**
     * 8031,DHL生成运单失败
     */
    public static final ErrorStatus cus_031 = new CustomCode(8031, "DHL生成运单失败");

    /**
     * 8032,DHL
     */
    public static final ErrorStatus cus_032 = new CustomCode(8032, "DHL");

    /**
     * 8033,微信支付报关
     */
    public static final ErrorStatus cus_033 = new CustomCode(8033, "微信支付报关");

    /**
     * 8034,FedEx创建商品
     */
    public static final ErrorStatus cus_034 = new CustomCode(8034, "FedEx创建商品");

    protected CustomCode(int code, String codeText) {
        super(code, codeText);
    }

    @Override
    public int getModuleCode() {
        return 8000;
    }

}
